
public class inner2
{
   int num = 2;
   public void test(){
         class outer{
             public void show(){
                System.out.println(num);
                }
             
        }
        outer a = new outer();
        a.show();
    }
    
}
